package com.ruoyi.project.integral.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 积分商品对象 integral_goods
 * 
 * @author wyh
 * @date 2024-08-09
 */
public class IntegralGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 封面 */
    @Excel(name = "封面")
    private String cover;

    /** 细节图 */
    @Excel(name = "细节图")
    private String detailDrawing;

    /** 上/下架 */
    @Excel(name = "上/下架")
    private String shelfStatus;

    /** 积分 */
    @Excel(name = "积分")
    private Long integral;

    /** 库存 */
    @Excel(name = "库存")
    private Long stockQuantity;

    /** 描述 */
    private String info;

    /** 销量 */
    @Excel(name = "销量")
    private Long saleNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setCover(String cover) 
    {
        this.cover = cover;
    }

    public String getCover() 
    {
        return cover;
    }
    public void setDetailDrawing(String detailDrawing) 
    {
        this.detailDrawing = detailDrawing;
    }

    public String getDetailDrawing() 
    {
        return detailDrawing;
    }
    public void setShelfStatus(String shelfStatus) 
    {
        this.shelfStatus = shelfStatus;
    }

    public String getShelfStatus() 
    {
        return shelfStatus;
    }
    public void setIntegral(Long integral) 
    {
        this.integral = integral;
    }

    public Long getIntegral() 
    {
        return integral;
    }
    public void setStockQuantity(Long stockQuantity) 
    {
        this.stockQuantity = stockQuantity;
    }

    public Long getStockQuantity() 
    {
        return stockQuantity;
    }
    public void setInfo(String info) 
    {
        this.info = info;
    }

    public String getInfo() 
    {
        return info;
    }
    public void setSaleNum(Long saleNum) 
    {
        this.saleNum = saleNum;
    }

    public Long getSaleNum() 
    {
        return saleNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("cover", getCover())
            .append("detailDrawing", getDetailDrawing())
            .append("shelfStatus", getShelfStatus())
            .append("integral", getIntegral())
            .append("stockQuantity", getStockQuantity())
            .append("info", getInfo())
            .append("saleNum", getSaleNum())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
